import React from 'react';

import ReIcon from '../ReIcon';

import classnames from 'classnames';
//component



export default class view extends React.Component {
    static propTypes = {
        //name: React.PropTypes.string,
        message: React.PropTypes.string,
    };

    static defaultProps = {
        //name: 'component name'
        message: '',
    };

    constructor(props, context) {

        super(props, context);


        // init state;
        this.state = {

        };
    }
    componentWillMount() {
        this._isMounted = true;

    }

    componentDidMount() {

    }

    componentWillUnmount() {
        this._isMounted = false;
    }

    render() {

        const classNames = classnames({
            'orin-sw-reemptymessage-root': true,
            [this.props.className]: this.props.className ? true : false
        });

        return (
            <div className={classNames} >
                <ReIcon icon='blank'></ReIcon>
                <p>{this.props.message}</p>
            </div>
        );
    }
}
